//
//  HHPopupViewViewController.m
//  Flower
//
//  Created by 花花 on 2017/1/17.
//  Copyright © 2017年 花花. All rights reserved.
//

#import "HHPopupViewViewController.h"

#import "HHPopupView.h"
@interface HHPopupViewViewController ()


@property(strong,nonatomic)HHPopupView * popupView;

@end

@implementation HHPopupViewViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.view.backgroundColor =[UIColor orangeColor];
 

    [self.view addSubview:self.popupView];
    
    
}



-(HHPopupView *)popupView{
    
    if (!_popupView) {
        
        HHPopupView *centerView  = [HHPopupView viewFromXib];
        
        
        _popupView = centerView;
        
    }
    
    return _popupView;
    
}

@end
